package com.plan.base.config.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * jwt配置
 *
 * @author zcl
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties("jwt")
public class JwtProperty {
    private String id;
    /**
     * 密钥
     */
    private String secret;
    /**
     * 过期时间-分钟
     */
    private Integer expireTime;

}
